<template>
	<view class="page">
		<view class="list" @click="onServer('message')">
			<view class="item">
				商户信息
			</view>
			<view class="more">
				<u-icon name="arrow-right"></u-icon>
			</view>
		</view>
		<!-- <view class="list" @click="onServer('picture')">
			<view class="item">
				商户图册
			</view>
			<view class="more">
				<u-icon name="arrow-right"></u-icon>
			</view>
		</view>
		<view class="list" @click="onServer('address')">
			<view class="item">
				收货地址
			</view>
			<view class="more">
				<u-icon name="arrow-right"></u-icon>
			</view>
		</view> -->
		<view class="bottom">
			<view class="button">
				排列靠前
			</view>
		</view>
	</view>
</template>

<script>
	export default {

		data() {
			return {}
		},
		methods: {
			onServer(type) {
				
				
				switch (type) {


					case 'picture':
						uni.navigateTo({
							url: '/moduleD/hongShanHun/setting/picture/picture',
						})
						break;
					case 'message':
						console.log('1111');
						uni.navigateTo({
							url: '/moduleD/hongShanHun/setting/message/message'
						})
						break;
					case 'address':
						uni.navigateTo({
							url: '/moduleB/AddressList/AddressList'
						})
						break;


				}
			},


		}
	}
</script>
<style scoped lang="scss">
	@import 'setting.scss';
</style>